/*
 * @Author: your name
 * @Date: 2020-11-23 14:45:10
 * @LastEditTime: 2020-12-13 16:17:18
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \solax-design\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import API from './api/content.js'
import axios from 'axios'
import i18n from './lan'
// import 'element-ui/lib/theme-chalk/index.css';
import './assets/style/theme/index.css';
import './assets/css/common.less'
import './assets/css/skin.less'

import { Container, Header, Aside, Main, Footer, Button, Select, Table, TableColumn, Menu, Submenu, MenuItem, Dropdown, DropdownMenu, DropdownItem, Form, FormItem, Input, Checkbox, Message, MessageBox, Alert, Breadcrumb, BreadcrumbItem, Pagination, Dialog, Option, Loading, Row, Col, ButtonGroup, Tabs, TabPane, Popconfirm, Tooltip, Drawer, Popover, Link, Tree, Cascader, DatePicker, TimePicker, Radio, RadioGroup, Notification, Upload, Divider, Switch, TimeSelect, Steps, Step, Card, InputNumber, CheckboxGroup } from 'element-ui';
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Footer)
Vue.use(Button)
Vue.use(Select)
Vue.use(Option)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Checkbox)
Vue.use(Alert)
Vue.use(Pagination)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Pagination)
Vue.use(Loading)
Vue.use(Row)
Vue.use(Col)
Vue.use(ButtonGroup)
Vue.use(Tabs)
Vue.use(Dialog)
Vue.use(TabPane)
Vue.use(Popconfirm)
Vue.use(Tooltip)
Vue.use(Drawer)
Vue.use(Popover)
Vue.use(Link)
Vue.use(Tree)
Vue.use(TimePicker)
Vue.use(DatePicker)
Vue.use(Cascader)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Upload)
Vue.use(Divider)
Vue.use(Switch)
Vue.use(TimeSelect)
Vue.use(Steps)
Vue.use(Step)
Vue.use(Card)
Vue.use(InputNumber)
Vue.use(CheckboxGroup)

Vue.config.productionTip = false
Vue.prototype.API = API
Vue.prototype.axios = axios
Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$notify = Notification;

new Vue({
    router,
    store,
    i18n,
    render: h => h(App)
}).$mount('#app')